/*
 * Copyright 2016 Wealth Inc. All rights reserved.
 */
 package com.wealth.vote.repository;

import iaas.repository.BaseRepository;

import java.util.Date;
import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import com.wealth.vote.entity.CooperativeRecord;

/**
 * @author chan
 * @version 1.0
 * @since 1.0
 */
 
@Repository
public interface CooperativeRecordDao extends BaseRepository<CooperativeRecord, Long> ,JpaSpecificationExecutor<CooperativeRecord>{

	List<CooperativeRecord>  findByOpenidAndCreateTimeBetween(String openid,Date starttime,Date endtime);
}
